<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta charset="UTF-8">
    <title>Cola-UI 客户端框架</title>
    <base href="/">
    <link rel="stylesheet" type="text/css" href="./resources/nprogress/nprogress.css">
    <script src="./resources/nprogress/nprogress.js"></script>
    <link rel="stylesheet" type="text/css" href="./resources/cola-ui/semantic.css">
    <link rel="stylesheet" type="text/css" href="./resources/cola-ui/cola.css">
    <link rel="stylesheet" type="text/css" href="./common/common.css">
  </head>
  <body>
    <script type="text/javascript">
      NProgress.configure({showSpinner: false, minimum: 0.3})
      NProgress.start();
    </script>
    <div class="ui segment basic padded">
      <div class="ui time-line">
        <div class="items">
          <div class="item">
            <div class="label">服务启动</div>
            <div class="icon"><i class="icon circle"></i></div>
            <div class="content"><strong>配置Context</strong>
              <pre>本示例Context为/

所以请将jetty或者tomcat的context选项设定为/

</pre>
            </div>
          </div>
          <div class="item">
            <div class="label">相关配置</div>
            <div class="icon"><i class="icon circle"></i></div>
            <div class="content"><strong>配置菜单</strong>
              <pre>请将服务的修改对应配置
properties = {
		mainView: "./frame/main", //系统主框架界面
		loginPath: "./login", //登录界面路径
		longPollingTimeout: 0,
		longPollingInterval: 2000, //框架长轮询周期
		"service.messagePull": "./service/message/pull", //消息接口
		"service.login": "./service/account/login",  //登录接口
		"service.logout": "./service/account/logout", //登出接口
		"service.menus": "./service/menus", //系统菜单接口
		"service.user.detail": "./service/user/detail"  //获得当前用户详细信息接口
	};
菜单接口数据规范:
	[
		{
			icon: "iconfont icon-neirongshezhi",
			label: "内容设置",
			menus: [
				{
					icon: "iconfont icon-yonghuliebiao",
					label: "导航设置",
					path:"./setting.html"
				},
				{
					icon: "iconfont icon-yonghuguanli",
					label: "分类管理",
					menus: [
						{
							icon: "iconfont icon-yonghuliebiao",
							label: "用户列表"
							path:"./users.html"
						},
						{
							icon: "iconfont icon-yonghuguanli",
							label: "用户组",
							path:"./user-group.html"
						}
					]
				}
			]
		}
	]
消息接口数据规范:
	[
		{
			type: "message",
			content: 8
		},
		{
			type: "task",
			content: 22
		}
	]</pre>
            </div>
          </div>
          <div class="item">
            <div class="label">框架界面</div>
            <div class="icon"><i class="icon circle"></i></div>
            <div class="content"><strong>框架界面</strong>
              <p><a href="./frame/main.html">主界面</a><br><a href="./frame/login.html">登录界面</a><br><a href="./frame/404.html">404错误界面</a><br><a href="./frame/500l.html">500错误界面</a></p>
            </div>
          </div>
          <div class="item">
            <div class="label">示例中心</div>
            <div class="icon"><i class="icon circle"></i></div>
            <div class="content"><strong>参考示例</strong>
              <p><a href="./example/employee.html">员工信息维护（单表增删改查）</a><br><a href="./example/master-detail.html">主从表信息维护</a></p>
            </div>
          </div>
          <div class="item">
            <div class="label">页面规范定义</div>
            <div class="icon"><i class="icon circle"></i></div>
            <div class="content"><strong>页面颜色</strong>
              <p><a href="./themes.html">页面颜色</a></p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
  <script src="./resources/jquery/jquery-2.1.3.js"></script>
  <script src="./resources/jquery/jquery.cookie.js"></script>
  <script src="./resources/cola-ui/3rd.js"></script>
  <script src="./resources/cola-ui/semantic.js"></script>
  <script src="./resources/cola-ui/cola.js" charset="UTF-8"></script>
  <script src="./common/common.js"></script>
</html>